package com.cskaoyan.demo6.servlet;

import com.cskaoyan.demo6.common.CommonServlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet("/line/*")
public class LineServlet extends CommonServlet {

    // localhost:8080/demo6/line/status
    public void status(HttpServletRequest request, HttpServletResponse response) {
        // 如果你对response对象进行处理 → 会影响响应报文
        response.setStatus(404);
    }
}
